Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a verify-download command to llama CLI #457

Merged
merged 2 commits into from
Nov 14, 2024
Merged

Add a verify-download command to llama CLI #457

merged 2 commits into from
Nov 14, 2024

Conversation

ashwinb
Copy link
Contributor

@ashwinb ashwinb commented Nov 14, 2024

What does this PR do?

It is important to verify large checkpoints downloaded via llama model download because subtle corruptions can easily happen with large file system writes. This PR adds a verify-download subcommand. Note that verification itself is a very time consuming process (and will take several minutes for the 405B model), hence this is a separate subcommand (and not part of the download which can already be time-consuming) and there are spinners and a bit of a "show" around it in the implementation.

Test Plan

image

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 14, 2024
@ashwinb ashwinb merged commit acbecbf into main Nov 14, 2024
2 checks passed
@ashwinb ashwinb deleted the verify_download branch November 14, 2024 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants